package com.dog.framework.core.exception;

import com.dog.framework.core.enums.ResponseCodeEnum;

/**
 * @author liuxk
 * @date 2023/12/18 20:50
 *
 */
public class DemoException  extends  BaseException {

    public DemoException(Integer code,String msgKey,Object[] args) {
        super("demo",code ,msgKey, args);
    }

    public DemoException(Integer code,String msgKey) {
        super("demo", code,msgKey);
    }


    public DemoException(String msgKey, Object[] args) {
        super("demo", msgKey, args);
    }

    public DemoException(String msgKey) {
        super("demo", msgKey);
    }

    public DemoException(ResponseCodeEnum responseCodeEnum) {
        super("demo", responseCodeEnum.getCode(),responseCodeEnum.getMsg());
    }







}
